package com.aote.rs.entity;

import java.util.Set;

/**
 * 微信配置信息
 */
public class WxConfig {

	public WxConfig() {
	}
	private String filiale;
	public String getFiliale() {
		return filiale;
	}
	public void setFiliale ( String filiale) {
		this.filiale = filiale;
	}

	// 这个就是自己要保管好的私有Key了（切记只能放在自己的后台代码里，不能放在任何可能被看到源代码的客户端程序中）
	// 每次自己Post数据给API的时候都要用这个key来对所有字段进行签名，生成的签名会放在Sign这个字段，API收到Post数据的时候也会用同样的签名算法对Post过来的数据进行签名和验证
	// 收到API的返回的时候也要用这个key来对返回的数据算下签名，跟API的Sign数据进行比较，如果值不一致，有可能数据被第三方给篡改
	private String key;

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	// 发送授权code后的回调地址
	private String REDIRECT_URL;

	public String getREDIRECT_URL() {
		return REDIRECT_URL;
	}

	public void setREDIRECT_URL(String rEDIRECT_URL) {
		REDIRECT_URL = rEDIRECT_URL;
	}

	// 公众号的appsecret
	private String secret;

	public String getSecret() {
		return secret;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}

	// 微信分配的公众号ID（开通公众号之后可以获取到）
	private String appID ;

	public String getAppID() {
		return appID;
	}

	public void setAppID(String appID) {
		this.appID = appID;
	}

	// 微信支付分配的商户号ID（开通公众号的微信支付功能之后可以获取到）
	private String mchID;

	public String getMchID() {
		return mchID;
	}

	public void setMchID(String mchID) {
		this.mchID = mchID;
	}
	
	// 支付完成回调地址
	public String NOTIFY_URL ;
	
	public String getNOTIFY_URL() {
		return NOTIFY_URL;
	}

	public void setNOTIFY_URL(String nOTIFY_URL) {
		NOTIFY_URL = nOTIFY_URL;
	}

	// 受理模式下给子商户分配的子商户号
	private String subMchID = "";

	// HTTPS证书的本地路径
	private String certLocalPath = "";

	// HTTPS证书密码，默认密码等于商户号MCHID
	private String certPassword = "";

	// 是否使用异步线程的方式来上报API测速，默认为异步模式
	private boolean useThreadToDoReport = true;

	// 机器IP
	private String ip = "";

	// 下单地址
	public String DOWN_PAY_API = "";

	// 1）被扫支付API
	public String PAY_API = "";

	public String getSubMchID() {
		return subMchID;
	}

	public void setSubMchID(String subMchID) {
		this.subMchID = subMchID;
	}

	public String getCertLocalPath() {
		return certLocalPath;
	}

	public void setCertLocalPath(String certLocalPath) {
		this.certLocalPath = certLocalPath;
	}

	public String getCertPassword() {
		return certPassword;
	}

	public void setCertPassword(String certPassword) {
		this.certPassword = certPassword;
	}

	public boolean isUseThreadToDoReport() {
		return useThreadToDoReport;
	}

	public void setUseThreadToDoReport(boolean useThreadToDoReport) {
		this.useThreadToDoReport = useThreadToDoReport;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	

	public String getDOWN_PAY_API() {
		return DOWN_PAY_API;
	}

	public void setDOWN_PAY_API(String dOWN_PAY_API) {
		DOWN_PAY_API = dOWN_PAY_API;
	}

	public String getPAY_API() {
		return PAY_API;
	}

	public void setPAY_API(String pAY_API) {
		PAY_API = pAY_API;
	}

	public String getPAY_QUERY_API() {
		return PAY_QUERY_API;
	}

	public void setPAY_QUERY_API(String pAY_QUERY_API) {
		PAY_QUERY_API = pAY_QUERY_API;
	}

	public String getREFUND_API() {
		return REFUND_API;
	}

	public void setREFUND_API(String rEFUND_API) {
		REFUND_API = rEFUND_API;
	}

	public String getREFUND_QUERY_API() {
		return REFUND_QUERY_API;
	}

	public void setREFUND_QUERY_API(String rEFUND_QUERY_API) {
		REFUND_QUERY_API = rEFUND_QUERY_API;
	}

	public String getREVERSE_API() {
		return REVERSE_API;
	}

	public void setREVERSE_API(String rEVERSE_API) {
		REVERSE_API = rEVERSE_API;
	}

	public String getDOWNLOAD_BILL_API() {
		return DOWNLOAD_BILL_API;
	}

	public void setDOWNLOAD_BILL_API(String dOWNLOAD_BILL_API) {
		DOWNLOAD_BILL_API = dOWNLOAD_BILL_API;
	}

	public String getREPORT_API() {
		return REPORT_API;
	}

	public void setREPORT_API(String rEPORT_API) {
		REPORT_API = rEPORT_API;
	}

	public String getHttpsRequestClassName() {
		return HttpsRequestClassName;
	}

	public void setHttpsRequestClassName(String httpsRequestClassName) {
		HttpsRequestClassName = httpsRequestClassName;
	}

	// 2）被扫支付查询API
	public String PAY_QUERY_API = "";

	// 3）退款API
	public String REFUND_API = "";

	// 4）退款查询API
	public String REFUND_QUERY_API = "";

	// 5）撤销API
	public String REVERSE_API = "";

	// 6）下载对账单API
	public String DOWNLOAD_BILL_API = "";

	// 7) 统计上报API
	public String REPORT_API = "";

	public String HttpsRequestClassName = "";
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return super.toString();
	}

}
